package cn.elead.chaos.email.handler;

import cn.elead.chaos.email.domain.CustomMailMessage;

import lombok.extern.slf4j.Slf4j;

/**
 * 邮件发送成功失败处理器
 * 
 * @author luopeng
 *
 */
@Slf4j
public class DefaultSendHandler implements ISendHandler {

	@Override
	public void onSendSuccess(CustomMailMessage message) {
		log.info("onSendSuccess:发送邮件成功");
	}

	@Override
	public void onSendFailure(CustomMailMessage message, Exception e) {
		log.info("onSendFailure:发送邮件失败");
	}

	@Override
	public void onSendBefore(CustomMailMessage message) {
		log.info("onSendBefore:发送邮件前");
	}

}
